<?php 
namespace app\app\validate;
use think\Validate;

class Order extends Validate{

	protected $rule = [
		'store_id' => 'require|number',
		'pocket'   => 'require',
	];	

	protected $message = [
		'store_id.require' => '商户id必填',
		'store_id.number'  => '商户id必须为数字',
		'pocket.require'   => '口袋参数必填',
	];

}